/*     */ package com.umeng.common;
/*     */ 
/*     */ import android.content.Context;
/*     */ import android.content.pm.ApplicationInfo;
/*     */ import android.content.pm.PackageInfo;
/*     */ import android.content.pm.PackageManager;
/*     */ import android.content.pm.PackageManager.NameNotFoundException;
/*     */ import android.content.res.Configuration;
/*     */ import android.content.res.Resources;
/*     */ import android.location.Location;
/*     */ import android.location.LocationManager;
/*     */ import android.net.ConnectivityManager;
/*     */ import android.net.NetworkInfo;
/*     */ import android.net.NetworkInfo.State;
/*     */ import android.net.wifi.WifiInfo;
/*     */ import android.net.wifi.WifiManager;
/*     */ import android.os.Bundle;
/*     */ import android.os.Environment;
/*     */ import android.provider.Settings.Secure;
/*     */ import android.provider.Settings.System;
/*     */ import android.telephony.TelephonyManager;
/*     */ import android.text.TextUtils;
/*     */ import android.util.DisplayMetrics;
/*     */ import android.view.Display;
/*     */ import android.view.WindowManager;
/*     */ import com.umeng.common.util.h;
/*     */ import java.io.BufferedReader;
/*     */ import java.io.FileNotFoundException;
/*     */ import java.io.FileReader;
/*     */ import java.io.IOException;
/*     */ import java.lang.reflect.Field;
/*     */ import java.text.SimpleDateFormat;
/*     */ import java.util.Calendar;
/*     */ import java.util.Date;
/*     */ import java.util.HashSet;
/*     */ import java.util.List;
/*     */ import java.util.Locale;
/*     */ import java.util.Set;
/*     */ import java.util.TimeZone;
/*     */ import javax.microedition.khronos.opengles.GL10;
/*     */ 
/*     */ public class b
/*     */ {
/*  47 */   protected static final String a = b.class.getName();
/*     */   protected static final String b = "Unknown";
/*     */   private static final String d = "2G/3G";
/*     */   private static final String e = "Wi-Fi";
/*     */   public static final int c = 8;
/*     */ 
/*     */   public static boolean a(String paramString, Context paramContext)
/*     */   {
/*  62 */     PackageManager localPackageManager = paramContext.getPackageManager();
/*  63 */     boolean bool = false;
/*     */     try {
/*  65 */       localPackageManager.getPackageInfo(paramString, 1);
/*  66 */       bool = true;
/*     */     } catch (PackageManager.NameNotFoundException localNameNotFoundException) {
/*  68 */       bool = false;
/*     */     }
/*  70 */     return bool;
/*     */   }
/*     */ 
/*     */   public static boolean a(Context paramContext)
/*     */   {
/*  81 */     Locale localLocale = paramContext.getResources().getConfiguration().locale;
/*  82 */     return localLocale.toString().equals(Locale.CHINA.toString());
/*     */   }
/*     */ 
/*     */   public static Set<String> b(Context paramContext)
/*     */   {
/*  93 */     HashSet localHashSet = new HashSet();
/*  94 */     List localList = paramContext.getPackageManager()
/*  95 */       .getInstalledPackages(0);
/*  96 */     for (int i = 0; i < localList.size(); i++) {
/*  97 */       PackageInfo localPackageInfo = (PackageInfo)localList.get(i);
/*  98 */       localHashSet.add(localPackageInfo.packageName);
/*     */     }
/* 100 */     return localHashSet;
/*     */   }
/*     */ 
/*     */   public static boolean c(Context paramContext)
/*     */   {
/* 110 */     if (paramContext.getResources().getConfiguration().orientation == 1) {
/* 111 */       return true;
/*     */     }
/* 113 */     return false;
/*     */   }
/*     */ 
/*     */   public static String d(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 125 */       PackageInfo localPackageInfo = paramContext.getPackageManager().getPackageInfo(
/* 126 */         paramContext.getPackageName(), 0);
/* 127 */       int i = localPackageInfo.versionCode;
/* 128 */       return String.valueOf(i); } catch (PackageManager.NameNotFoundException localNameNotFoundException) {
/*     */     }
/* 130 */     return "Unknown";
/*     */   }
/*     */ 
/*     */   public static String e(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 141 */       PackageInfo localPackageInfo = paramContext.getPackageManager().getPackageInfo(
/* 142 */         paramContext.getPackageName(), 0);
/* 143 */       return localPackageInfo.versionName; } catch (PackageManager.NameNotFoundException localNameNotFoundException) {
/*     */     }
/* 145 */     return "Unknown";
/*     */   }
/*     */ 
/*     */   public static boolean a(Context paramContext, String paramString)
/*     */   {
/* 158 */     PackageManager localPackageManager = paramContext.getPackageManager();
/* 159 */     if (localPackageManager.checkPermission(paramString, paramContext.getPackageName()) != 0) {
/* 160 */       return false;
/*     */     }
/* 162 */     return true;
/*     */   }
/*     */ 
/*     */   public static String f(Context paramContext)
/*     */   {
/* 173 */     PackageManager localPackageManager = paramContext.getPackageManager();
/*     */     ApplicationInfo localApplicationInfo;
/*     */     try
/*     */     {
/* 176 */       localApplicationInfo = localPackageManager.getApplicationInfo(paramContext.getPackageName(), 0);
/*     */     }
/*     */     catch (PackageManager.NameNotFoundException localNameNotFoundException) {
/* 179 */       localApplicationInfo = null;
/*     */     }
/* 181 */     String str = (String)(localApplicationInfo != null ? localPackageManager.getApplicationLabel(localApplicationInfo) : "");
/* 182 */     return str;
/*     */   }
/*     */ 
/*     */   public static String[] a(GL10 paramGL10)
/*     */   {
/*     */     try
/*     */     {
/* 192 */       String[] arrayOfString = new String[2];
/* 193 */       String str1 = paramGL10.glGetString(7936);
/* 194 */       String str2 = paramGL10.glGetString(7937);
/* 195 */       arrayOfString[0] = str1;
/* 196 */       arrayOfString[1] = str2;
/* 197 */       return arrayOfString;
/*     */     } catch (Exception localException) {
/* 199 */       Log.b(a, "Could not read gpu infor:", localException);
/* 200 */     }return new String[0];
/*     */   }
/*     */ 
/*     */   public static String a()
/*     */   {
/* 210 */     String str = null;
/*     */ 
/* 212 */     FileReader localFileReader = null;
/* 213 */     BufferedReader localBufferedReader = null;
/*     */     try
/*     */     {
/* 216 */       localFileReader = new FileReader("/proc/cpuinfo");
/* 217 */       if (localFileReader != null)
/*     */         try {
/* 219 */           localBufferedReader = new BufferedReader(localFileReader, 1024);
/* 220 */           str = localBufferedReader.readLine();
/* 221 */           localBufferedReader.close();
/* 222 */           localFileReader.close();
/*     */         } catch (IOException localIOException) {
/* 224 */           Log.b(a, 
/* 225 */             "Could not read from file /proc/cpuinfo", localIOException);
/*     */         }
/*     */     }
/*     */     catch (FileNotFoundException localFileNotFoundException) {
/* 229 */       Log.b(a, "Could not open file /proc/cpuinfo", localFileNotFoundException);
/*     */     }
/*     */ 
/* 232 */     if (str != null) {
/* 233 */       int i = str.indexOf(':') + 1;
/* 234 */       str = str.substring(i);
/*     */     }
/* 236 */     return str.trim();
/*     */   }
/*     */ 
/*     */   public static String g(Context paramContext)
/*     */   {
/* 246 */     TelephonyManager localTelephonyManager = (TelephonyManager)paramContext
/* 247 */       .getSystemService("phone");
/*     */ 
/* 249 */     if (localTelephonyManager == null) {
/* 250 */       Log.e(a, "No IMEI.");
/*     */     }
/*     */ 
/* 253 */     String str = "";
/*     */     try {
/* 255 */       if (a(paramContext, "android.permission.READ_PHONE_STATE"))
/* 256 */         str = localTelephonyManager.getDeviceId();
/*     */     }
/*     */     catch (Exception localException) {
/* 259 */       Log.e(a, "No IMEI.", localException);
/*     */     }
/*     */ 
/* 262 */     if (TextUtils.isEmpty(str)) {
/* 263 */       Log.e(a, "No IMEI.");
/* 264 */       str = r(paramContext);
/* 265 */       if (TextUtils.isEmpty(str)) {
/* 266 */         Log.e(a, "Failed to take mac as IMEI. Try to use Secure.ANDROID_ID instead.");
/* 267 */         str = Settings.Secure.getString(paramContext.getContentResolver(), "android_id");
/* 268 */         Log.a(a, "getDeviceId: Secure.ANDROID_ID: " + str);
/* 269 */         return str;
/*     */       }
/*     */     }
/* 272 */     return str;
/*     */   }
/*     */ 
/*     */   public static String h(Context paramContext)
/*     */   {
/* 281 */     return h.b(g(paramContext));
/*     */   }
/*     */ 
/*     */   public static String i(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 292 */       TelephonyManager localTelephonyManager = (TelephonyManager)paramContext
/* 293 */         .getSystemService("phone");
/*     */ 
/* 295 */       if (localTelephonyManager == null) {
/* 296 */         return "Unknown";
/*     */       }
/* 298 */       return localTelephonyManager.getNetworkOperatorName();
/*     */     } catch (Exception localException) {
/* 300 */       localException.printStackTrace();
/* 301 */     }return "Unknown";
/*     */   }
/*     */ 
/*     */   public static String j(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 313 */       DisplayMetrics localDisplayMetrics = new DisplayMetrics();
/* 314 */       WindowManager localWindowManager = (WindowManager)paramContext
/* 315 */         .getSystemService("window");
/* 316 */       localWindowManager.getDefaultDisplay().getMetrics(localDisplayMetrics);
/*     */ 
/* 318 */       int i = localDisplayMetrics.widthPixels;
/* 319 */       int j = localDisplayMetrics.heightPixels;
/*     */ 
/* 321 */       return String.valueOf(j) + "*" + 
/* 322 */         String.valueOf(i);
/*     */     }
/*     */     catch (Exception localException) {
/* 325 */       localException.printStackTrace();
/* 326 */     }return "Unknown";
/*     */   }
/*     */ 
/*     */   public static String[] k(Context paramContext)
/*     */   {
/* 339 */     String[] arrayOfString = { "Unknown", "Unknown" };
/*     */     try
/*     */     {
/* 342 */       PackageManager localPackageManager = paramContext.getPackageManager();
/* 343 */       if (localPackageManager.checkPermission("android.permission.ACCESS_NETWORK_STATE", 
/* 344 */         paramContext.getPackageName()) != 0) {
/* 345 */         arrayOfString[0] = "Unknown";
/* 346 */         return arrayOfString;
/*     */       }
/*     */ 
/* 349 */       ConnectivityManager localConnectivityManager = (ConnectivityManager)paramContext
/* 350 */         .getSystemService("connectivity");
/* 351 */       if (localConnectivityManager == null) {
/* 352 */         arrayOfString[0] = "Unknown";
/* 353 */         return arrayOfString;
/*     */       }
/* 355 */       NetworkInfo localNetworkInfo1 = localConnectivityManager
/* 356 */         .getNetworkInfo(1);
/* 357 */       if (localNetworkInfo1.getState() == NetworkInfo.State.CONNECTED) {
/* 358 */         arrayOfString[0] = "Wi-Fi";
/* 359 */         return arrayOfString;
/*     */       }
/* 361 */       NetworkInfo localNetworkInfo2 = localConnectivityManager
/* 362 */         .getNetworkInfo(0);
/* 363 */       if (localNetworkInfo2.getState() == NetworkInfo.State.CONNECTED) {
/* 364 */         arrayOfString[0] = "2G/3G";
/* 365 */         arrayOfString[1] = localNetworkInfo2.getSubtypeName();
/* 366 */         return arrayOfString;
/*     */       }
/*     */     }
/*     */     catch (Exception localException) {
/* 370 */       localException.printStackTrace();
/*     */     }
/*     */ 
/* 373 */     return arrayOfString;
/*     */   }
/*     */ 
/*     */   public static boolean l(Context paramContext) {
/* 377 */     return "Wi-Fi".equals(k(paramContext)[0]);
/*     */   }
/*     */ 
/*     */   public static Location m(Context paramContext)
/*     */   {
/* 392 */     LocationManager localLocationManager = null;
/*     */     try {
/* 394 */       localLocationManager = (LocationManager)paramContext
/* 395 */         .getSystemService("location");
/*     */       Location localLocation;
/* 397 */       if (a(paramContext, 
/* 397 */         "android.permission.ACCESS_FINE_LOCATION")) {
/* 398 */         localLocation = localLocationManager
/* 399 */           .getLastKnownLocation("gps");
/* 400 */         if (localLocation != null) {
/* 401 */           Log.c(a, "get location from gps:" + 
/* 402 */             localLocation.getLatitude() + "," + 
/* 403 */             localLocation.getLongitude());
/* 404 */           return localLocation;
/*     */         }
/*     */ 
/*     */       }
/*     */ 
/* 409 */       if (a(paramContext, 
/* 409 */         "android.permission.ACCESS_COARSE_LOCATION")) {
/* 410 */         localLocation = localLocationManager
/* 411 */           .getLastKnownLocation("network");
/* 412 */         if (localLocation != null) {
/* 413 */           Log.c(a, "get location from network:" + 
/* 414 */             localLocation.getLatitude() + "," + 
/* 415 */             localLocation.getLongitude());
/* 416 */           return localLocation;
/*     */         }
/*     */       }
/*     */ 
/* 420 */       Log.c(a, 
/* 421 */         "Could not get location from GPS or Cell-id, lack ACCESS_COARSE_LOCATION or ACCESS_COARSE_LOCATION permission?");
/* 422 */       return null;
/*     */     } catch (Exception localException) {
/* 424 */       Log.b(a, localException.getMessage());
/* 425 */     }return null;
/*     */   }
/*     */ 
/*     */   public static boolean n(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 440 */       ConnectivityManager localConnectivityManager = (ConnectivityManager)paramContext
/* 441 */         .getSystemService("connectivity");
/* 442 */       NetworkInfo localNetworkInfo = localConnectivityManager.getActiveNetworkInfo();
/* 443 */       if (localNetworkInfo != null) {
/* 444 */         return localNetworkInfo.isConnectedOrConnecting();
/*     */       }
/* 446 */       return false; } catch (Exception localException) {
/*     */     }
/* 448 */     return true;
/*     */   }
/*     */ 
/*     */   public static boolean b()
/*     */   {
/* 459 */     if (Environment.getExternalStorageState().equals(
/* 459 */       "mounted")) {
/* 460 */       return true;
/*     */     }
/* 462 */     return false;
/*     */   }
/*     */ 
/*     */   public static int o(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 475 */       Locale localLocale = y(paramContext);
/* 476 */       Calendar localCalendar = Calendar.getInstance(localLocale);
/* 477 */       if (localCalendar != null)
/* 478 */         return localCalendar.getTimeZone().getRawOffset() / 3600000;
/*     */     }
/*     */     catch (Exception localException) {
/* 481 */       Log.a(a, "error in getTimeZone", localException);
/*     */     }
/*     */ 
/* 484 */     return 8;
/*     */   }
/*     */ 
/*     */   public static String[] p(Context paramContext)
/*     */   {
/* 493 */     String[] arrayOfString = new String[2];
/*     */     try
/*     */     {
/* 496 */       Locale localLocale = y(paramContext);
/*     */ 
/* 498 */       if (localLocale != null) {
/* 499 */         arrayOfString[0] = localLocale.getCountry();
/* 500 */         arrayOfString[1] = localLocale.getLanguage();
/*     */       }
/*     */ 
/* 503 */       if (TextUtils.isEmpty(arrayOfString[0]))
/* 504 */         arrayOfString[0] = "Unknown";
/* 505 */       if (TextUtils.isEmpty(arrayOfString[1])) {
/* 506 */         arrayOfString[1] = "Unknown";
/*     */       }
/* 508 */       return arrayOfString;
/*     */     } catch (Exception localException) {
/* 510 */       Log.b(a, "error in getLocaleInfo", localException);
/*     */     }
/*     */ 
/* 513 */     return arrayOfString;
/*     */   }
/*     */ 
/*     */   private static Locale y(Context paramContext)
/*     */   {
/* 522 */     Locale localLocale = null;
/*     */     try {
/* 524 */       Configuration localConfiguration = new Configuration();
/* 525 */       Settings.System.getConfiguration(paramContext.getContentResolver(), 
/* 526 */         localConfiguration);
/* 527 */       if (localConfiguration != null)
/* 528 */         localLocale = localConfiguration.locale;
/*     */     }
/*     */     catch (Exception localException) {
/* 531 */       Log.b(a, "fail to read user config locale");
/*     */     }
/*     */ 
/* 534 */     if (localLocale == null) {
/* 535 */       localLocale = Locale.getDefault();
/*     */     }
/*     */ 
/* 538 */     return localLocale;
/*     */   }
/*     */ 
/*     */   public static String q(Context paramContext)
/*     */   {
/* 547 */     Object localObject = null;
/*     */     try {
/* 549 */       PackageManager localPackageManager = paramContext.getPackageManager();
/* 550 */       ApplicationInfo localApplicationInfo = localPackageManager.getApplicationInfo(
/* 551 */         paramContext.getPackageName(), 128);
/*     */ 
/* 553 */       if (localApplicationInfo != null) {
/* 554 */         String str = localApplicationInfo.metaData.getString("UMENG_APPKEY");
/* 555 */         if (str != null) {
/* 556 */           localObject = str;
/* 557 */           return localObject.trim();
/*     */         }
/* 559 */         Log.b(a, 
/* 560 */           "Could not read UMENG_APPKEY meta-data from AndroidManifest.xml.");
/*     */       }
/*     */     }
/*     */     catch (Exception localException)
/*     */     {
/* 565 */       Log.b(a, 
/* 566 */         "Could not read UMENG_APPKEY meta-data from AndroidManifest.xml.", 
/* 567 */         localException);
/*     */     }
/* 569 */     return null;
/*     */   }
/*     */ 
/*     */   public static String r(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 579 */       WifiManager localWifiManager = (WifiManager)paramContext.getSystemService("wifi");
/* 580 */       if (a(paramContext, "android.permission.ACCESS_WIFI_STATE")) {
/* 581 */         WifiInfo localWifiInfo = localWifiManager.getConnectionInfo();
/* 582 */         return localWifiInfo.getMacAddress();
/*     */       }
/* 584 */       Log.e(a, "Could not get mac address.[no permission android.permission.ACCESS_WIFI_STATE");
/*     */     }
/*     */     catch (Exception localException) {
/* 587 */       Log.e(a, "Could not get mac address." + localException.toString());
/*     */     }
/* 589 */     return "";
/*     */   }
/*     */ 
/*     */   public static String s(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 599 */       DisplayMetrics localDisplayMetrics = new DisplayMetrics();
/* 600 */       WindowManager localWindowManager = (WindowManager)paramContext
/* 601 */         .getSystemService("window");
/* 602 */       localWindowManager.getDefaultDisplay().getMetrics(localDisplayMetrics);
/*     */ 
/* 604 */       int i = -1; int j = -1;
/*     */ 
/* 606 */       if ((paramContext.getApplicationInfo().flags & 0x2000) == 0) {
/* 607 */         i = a(localDisplayMetrics, "noncompatWidthPixels");
/* 608 */         j = a(localDisplayMetrics, "noncompatHeightPixels");
/*     */       }
/*     */ 
/* 611 */       if ((i == -1) || (j == -1)) {
/* 612 */         i = localDisplayMetrics.widthPixels;
/* 613 */         j = localDisplayMetrics.heightPixels;
/*     */       }
/*     */ 
/* 616 */       StringBuffer localStringBuffer = new StringBuffer();
/* 617 */       localStringBuffer.append(i);
/* 618 */       localStringBuffer.append("*");
/* 619 */       localStringBuffer.append(j);
/*     */ 
/* 621 */       return localStringBuffer.toString();
/*     */     } catch (Exception localException) {
/* 623 */       Log.b(a, "read resolution fail", localException);
/*     */     }
/* 625 */     return "Unknown";
/*     */   }
/*     */ 
/*     */   private static int a(Object paramObject, String paramString)
/*     */   {
/*     */     try {
/* 631 */       Field localField = DisplayMetrics.class.getDeclaredField(paramString);
/* 632 */       localField.setAccessible(true);
/* 633 */       return localField.getInt(paramObject);
/*     */     } catch (Exception localException) {
/* 635 */       localException.printStackTrace();
/*     */     }
/* 637 */     return -1;
/*     */   }
/*     */ 
/*     */   public static String t(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 648 */       return ((TelephonyManager)paramContext
/* 649 */         .getSystemService("phone"))
/* 650 */         .getNetworkOperatorName();
/*     */     } catch (Exception localException) {
/* 652 */       Log.a(a, "read carrier fail", localException);
/*     */     }
/* 654 */     return "Unknown";
/*     */   }
/*     */ 
/*     */   public static String a(Date paramDate)
/*     */   {
/* 663 */     SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
/* 664 */     String str = localSimpleDateFormat.format(paramDate);
/* 665 */     return str;
/*     */   }
/*     */ 
/*     */   public static String c()
/*     */   {
/* 673 */     Date localDate = new Date();
/* 674 */     SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
/* 675 */     String str = localSimpleDateFormat.format(localDate);
/* 676 */     return str;
/*     */   }
/*     */ 
/*     */   public static Date a(String paramString)
/*     */   {
/*     */     try
/*     */     {
/* 685 */       SimpleDateFormat localSimpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
/* 686 */       return localSimpleDateFormat.parse(paramString);
/*     */     } catch (Exception localException) {
/*     */     }
/* 689 */     return null;
/*     */   }
/*     */ 
/*     */   public static int a(Date paramDate1, Date paramDate2)
/*     */   {
/* 700 */     if (paramDate1.after(paramDate2)) {
/* 701 */       Date localDate = paramDate1;
/* 702 */       paramDate1 = paramDate2;
/* 703 */       paramDate2 = localDate;
/*     */     }
/* 705 */     long l1 = paramDate1.getTime();
/* 706 */     long l2 = paramDate2.getTime();
/* 707 */     long l3 = l2 - l1;
/* 708 */     return (int)(l3 / 1000L);
/*     */   }
/*     */ 
/*     */   public static String u(Context paramContext)
/*     */   {
/* 717 */     Object localObject1 = "Unknown";
/*     */     try {
/* 719 */       PackageManager localPackageManager = paramContext.getPackageManager();
/* 720 */       ApplicationInfo localApplicationInfo = localPackageManager.getApplicationInfo(
/* 721 */         paramContext.getPackageName(), 128);
/*     */ 
/* 723 */       if ((localApplicationInfo != null) && (localApplicationInfo.metaData != null)) {
/* 724 */         Object localObject2 = localApplicationInfo.metaData.get("UMENG_CHANNEL");
/* 725 */         if (localObject2 != null) {
/* 726 */           String str = localObject2.toString();
/* 727 */           if (str != null)
/* 728 */             localObject1 = str;
/*     */           else
/* 730 */             Log.a(a, 
/* 731 */               "Could not read UMENG_CHANNEL meta-data from AndroidManifest.xml.");
/*     */         }
/*     */       }
/*     */     }
/*     */     catch (Exception localException) {
/* 736 */       Log.a(a, 
/* 737 */         "Could not read UMENG_CHANNEL meta-data from AndroidManifest.xml.");
/* 738 */       localException.printStackTrace();
/*     */     }
/* 740 */     return localObject1;
/*     */   }
/*     */ 
/*     */   public static String v(Context paramContext)
/*     */   {
/* 749 */     return paramContext.getPackageName();
/*     */   }
/*     */ 
/*     */   public static String w(Context paramContext)
/*     */   {
/* 757 */     return paramContext.getPackageManager().getApplicationLabel(paramContext.getApplicationInfo()).toString();
/*     */   }
/*     */ 
/*     */   public static boolean x(Context paramContext)
/*     */   {
/*     */     try
/*     */     {
/* 767 */       return (paramContext.getApplicationInfo().flags & 0x2) != 0; } catch (Exception localException) {
/*     */     }
/* 769 */     return false;
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.common.b
 * JD-Core Version:    0.6.2
 */